<div id="contact-page" class="container">
    <div class="row">
        <div class="col-sm-8">
            <div class="contact-form">
                <h2 class="title text-center">Gửi yêu cầu hỗ trợ</h2>
                <?php if ($posted == true): ?>
                    <div class="status alert alert-success">Cảm ơn sự quan tâm của bạn. Chúng tôi sẽ phản hồi bạn nhanh
                        nhất có thể!
                    </div>
                <?php endif; ?>
                <?php if ($posted == false): ?>
                    <?php echo form_open('guestbook', 'class="contact-form row"'); ?>
                        <fieldset>
                            <div class="form-group col-md-6">
                                <input type="text" name="name" class="form-control" required="required" placeholder="Tên">
                            </div>
                            <div class="form-group col-md-6">
                                <input type="email" name="email" class="form-control" required="required" placeholder="Email">
                            </div>
                            <div class="form-group col-md-12">
                                <input type="text" name="title" class="form-control" required="required" placeholder="Tiêu đề">
                            </div>
                            <div class="form-group col-md-12">
                                <textarea name="message" id="message" required="required" class="form-control" rows="8" placeholder="Nội dung"></textarea>
                            </div>
                            <input type="hidden" name="form_token" value="<?php echo $form_token; ?>" />
                            <div class="form-group col-md-12">
                                <input type="submit" name="submit" class="btn btn-primary pull-right" value="Gửi">
                            </div>
                        </fieldset>
                        </form>
                    <?php endif; ?>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="contact-info">
                <h2 class="title text-center">Liên lạc trực tiếp</h2>
                <address>
                    <p><b>Địa chỉ:</b> 472 Thụy Khuê, Tây Hồ , Hà Nội .</p>

                    <p><b>Điện thoại:</b> Mr.Tùng 0946 606 603</p>

                    <p><b>Yahoo:</b> sieuthivn1</p>

                    <p><b>Email:</b> sieuthivn.net@gmail.com</p>
                </address>
                <div class="social-networks">
                    <h2 class="title text-center">Social Networking</h2>
                    <ul>
                        <li>
                            <a href="https://www.facebook.com/ordersieuthivn"><i class="fa fa-facebook"></i></a>
                        </li>
<!--                        <li>-->
<!--                            <a href="#"><i class="fa fa-twitter"></i></a>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <a href="#"><i class="fa fa-google-plus"></i></a>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <a href="#"><i class="fa fa-youtube"></i></a>-->
<!--                        </li>-->
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>